HTML files are made up of two main sections: the HEAD
section and the BODY
section. The BODY
section is the part of the document that is visible to your site's visitors in a browser window (and to you in the Document window in Dreamweaver). The HEAD
section is mostly invisible to visitors (and in Dreamweaver), except for the text tagged TITLE
, which appears in the title bar of both the browser and the Document window and is used as the label for bookmarks to the document. Give a title to every page you create.
The HEAD
section contains other important information in addition to the document title, including the document type, the language encoding, JavaScript and VBScript functions and variables, and keywords and content indicators for search engines. You don't need to provide all of these elements for every page; you might, for example, provide keywords and content indicators for your home page only. You can view the elements in the HEAD
section using the View menu or the HTML Source inspector.
To view elements in the HEAD section of a document:
Choose View > Head Content. For each element of the HEAD
content, an icon appears at the top of the Document window.
To insert elements into the HEAD section of a document:
1 | Do one of the following: |
![]() |
Choose Head from the pop-up menu at the top of the Object palette and click one of the buttons in the Object palette. |
![]() |
Choose an item from the Insert > Head submenu. |
2 | Enter options for the element in the dialog box that appears or in the Property inspector. |
![]() |
To edit elements in the HEAD section of a document:
1 | Click one of the icons in the HEAD section to select it. |
2 | Set or modify the properties of the element in the Property inspector. |
![]() |
For information about the properties of specific HEAD
elements, see the following topics:
![]() |
META properties |
![]() |
Title properties |
![]() |
Keywords properties |
![]() |
Description properties |
![]() |
Refresh properties |
![]() |
Script properties |
![]() |
Base properties |
![]() |
Link properties |